package com.lbj.mvvm.helper
import java.lang.reflect.ParameterizedType

fun <VM> getVMClazz(obj: Any): VM =
    (obj.javaClass.genericSuperclass as ParameterizedType).actualTypeArguments[0] as VM
